#include "junix.h"

int main(int argc, char **argv)
{
	char buf[LINE_MAX];

	if(argc!=3)
		err_quit("Usage:%s host service", argv[0]);

	int fd = connect_tcp( argv[1], argv[2] );
	strncpy(buf,"hello,world!\n",LINE_MAX);
	Write(fd,buf,strlen(buf));

	exit(0);
}

